package lzq.aop.domain;

import java.io.Serializable;

public class Course implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;
	private String name;
	private Integer mark;

	public Course() {
	}

	public Course(String name, Integer mark) {
		this.name = name;
		this.mark = mark;
	}
	
	public Course(Long id, String name, Integer mark) {
		super();
		this.id = id;
		this.name = name;
		this.mark = mark;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getMark() {
		return mark;
	}

	public void setMark(Integer mark) {
		this.mark = mark;
	}

	@Override
	public String toString() {
		return "Course [id=" + id + ", name=" + name + ", mark=" + mark + "]";
	}

	
	
}
